<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
    "http://www.w3.org/TR/REC-html40/loose.dtd">
<html>
<head>
<title>{{ flatpage.title }}</title>
</head>
<body>
{{ flatpage.content }}
{% if flatpage.enable_comments %}
    {% load comments %}
    {% render_comment_form for flatpage %}
    <h2>Comments:</h2>
    {% get_comment_list for flatpage as comment_list %}
    <ul>
    {% for comment in comment_list %}
        <li id="{{ comment.id }}">
            <p class='meta'>
                {{ comment.user_name }} on {{ comment.submit_date}} says:
            </p>
            {{ comment.comment }}
            <p>Flags: {% for flag in comment.flags.all %} {{ flag.flag }} {% endfor %}</p>
        </li>
    {% endfor %}
    </ul>
{% endif %}
</body>
</html>

